package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.DataDictionaryItem;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IDataDictionaryItemService {

    List<DataDictionaryItem> getItemByDictionarySn(String sn);

    void save(DataDictionaryItem entity);

    void delete(Long id);

    void update(DataDictionaryItem entity);

    DataDictionaryItem get(Long id);

    List<DataDictionaryItem> list();

    PageResult query(QueryObject qo);

}
